//play pause getAudio  开启 暂停 获取数据
(function ($, root) {
    function CommandAudio() {
        this.audio = new Audio();
        // this.src = src;
        this.status = 'pause';
    }
    CommandAudio.prototype = {
        play: function () {
            this.audio.play();
           
            this.status = 'play';
        },
        pause: function () {
            this.audio.pause();
            this.status = 'pause';
        },
        getAudio: function (src) {
            console.log('---');
            console.log(src);
            this.audio.src = src;
            this.audio.load();
        }
    }
    root.CommandAudio = new CommandAudio();

})(window.Zepto, window.player || (window.player = {}))